package com.winit.need.mapper;

import com.winit.need.model.Need;

import java.util.List;
import java.util.Map;

public interface NeedMapper {
    int deleteByPrimaryKey(String id);

    int insertSelective(Need need);

    Need selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(Need record);

    List<Need> getNeedList(Map need);

    List<Map> getStatusCount(Map map);
    List<String> getStatus();

    int updateNeedStar(Map map);

    List<String> getNoAcceptId(Map map);

    String getAcceptId(Map map);

    List<Map> getAcceptancePro(Map map);

    List<Map> getCompletePro(Map map);

    List<Need> getAcceptAccountAndStatus (Map map);

}